package com.heima.xiyuanmall;

import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;

import android.Manifest;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.DhcpInfo;
import android.net.Network;
import android.net.NetworkCapabilities;
import android.net.NetworkRequest;
import android.net.NetworkSpecifier;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiEnterpriseConfig;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.net.wifi.WifiNetworkSpecifier;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.PatternMatcher;
import android.os.ResultReceiver;
import android.provider.Settings;
import android.telephony.ClosedSubscriberGroupInfo;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;

import com.heima.mvplibrary.base.BaseActivity;
import com.heima.xiyuanmall.app.MyApplication;
import com.heima.xiyuanmall.presenter.MainPresenter;
import com.tencent.bugly.crashreport.CrashReport;

import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Queue;


public class MainActivity extends BaseActivity<MainPresenter> {
    private static final String TAG = "MainActivity";
    private WifiManager wifiManager;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        //Bugly框架初始化
        CrashReport.initCrashReport(getApplicationContext());
    }

    @Override
    protected void widgetClick(View v) {

    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_main;
    }


    @Override
    public void initData() {
        getP().showLoading();


    }



    @Override
    public void initListener() {

    }
}